<?php

class Views_modul extends CI_Model {
	public $data_view = array();
#	public $pathway;
#	public $ads;
	public $title;
	public $menu;
    public $content;
    public $description;
    public $header;  
#	public $sidebar; 
	public $footer; 

	public function __construct() {
		// Call the Model constructor
		parent::__construct(); 
			// путь, где пользователь находится
		#	$this -> pathway = $this -> load -> view('menu/menu_pathway','',true);
			 
			// реклама
#			$this -> ads = $this -> load -> view('ads/default','',true); 
			
			
			 
			 
			// тайтл
			$this -> title = 'портал недвижимости'; 
			
            // Основной контент сайта
            $this -> content = $this -> load -> view('content/home','',true);
             
            // Основной контент сайта
            $this -> head = '';
             
			// description
			$this -> menu = ''; 
			$this -> description = ''; 
			
			return;
	}

	public  function request_view() {  
	# $this -> data_view['pathway'] =  $this -> pathway;
			$this -> data_view['description'] =  $this -> description;
	# $this -> data_view['ads'] =  $this -> ads;
			$this -> data_view['title'] =  $this -> title;
			$this -> data_view['menu'] =  $this -> menu; 
            $this -> data_view['content'] =  $this -> content;
            $this -> data_view['head'] =  $this -> head;
			return $this -> data_view;
	
	}
 
 

}
